﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Diplom.Graphics.D3D.Helpers
{
    /// <summary>
    /// Ребро соединяющее 3х-мерные точки
    /// </summary>
    public class EdgeOfPoint3D
    {
        #region Fields

        private Point3D org;
        private Point3D dest;

        #endregion

        #region Properties 

        /// <summary>
        /// пока не вспомнил почему его назвали org o_O
        /// </summary>
        public Point3D Org
        {
            get
            {
                return org;
            }
            set
            {
                org = value;
            }
        }

        public Point3D Dest
        {
            get
            {
                return dest;
            }
            set
            {
                dest = value;
            }
        }

        #endregion

        #region .ctor

        public EdgeOfPoint3D()
        {
            this.org = new Point3D();
            this.dest = new Point3D();
        }

        public EdgeOfPoint3D(Point3D org, Point3D dest)
        {
            this.org = new Point3D(org);
            this.dest = new Point3D(dest);
        }

        #endregion 
    }
}
